﻿<%@page import="youleche.com.controler.controler.PageDataForBussinessControler"%>
<%@page import="youleche.com.common.MenuFactory"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>美乐车-全国最大的车辆信息交易平台</title>
<link href="/meileche/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet"
	media="screen">
<link href="/meileche/js/easyui/themes/default/easyui.css" rel="stylesheet"
	media="screen">
<link rel="stylesheet" type="text/css" href="/meileche/bootstrap-select/bootstrap-select.min.css">
<link rel="stylesheet" type="text/css" href="/meileche/css/release.css">

<style type="text/css">
 .txtRegistered{
	width:280px;
	height:30px;
	font-size: 18px;
	color: #777;
}
.menuDiv ul li{
	list-style: none;
	float: left;
	font-size: 18px;
	width: 80px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	background-color: #3CAC7E;
	border-radius: 2px;
	
}
.menuDiv ul{
	margin-top:10px;
	margin-left:20px;
	
}
.menuDiv ul li a{
	font-size: 18px;
	width: 80px;
	border: 1px solid #fff;
	color: #fff;
	font-weight: bold;
	text-align: center;
	background-color: #3CAC7E;
	border-radius: 2px;
}

.menuDiv ul li a:hover{
	 text-decoration:none;
}
.linkLogin:link{
	text-decoration: none;
}
.linkLogin:hover{
	text-decoration: underline;
}
.linkLogin{
	font-size: 12px;
	color: #666;
}
.divX
{
    z-index:100;
    border-style:solid;
    border-width:1px;
    border-color:#ccc;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    background-color:#47a447;
    line-height:14px;
    text-align:center;
    font-weight:bold;
    cursor:pointer;
    font-size:12px;
    color:#fff;
    display: block;
}

    </style>
<script type="text/javascript" src="/meileche/js/common/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/meileche/js/common/jquery.cookie.js"></script>
<script type="text/javascript" src="/meileche/js/common/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/meileche/layer/layer.js"></script>
<script type="text/javascript" src="/meileche/bootstrap-select/bootstrap-select.min.js"></script>
<script src="/meileche/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script src="/meileche/js/xheditor-1.2.1/xheditor-1.2.1.min.js"></script>
<script src="/meileche/js/jQuery-File-Upload-8.8.5/js/vendor/jquery.ui.widget.js"></script>
<script src="/meileche/js/jQuery-File-Upload-8.8.5/js/jquery.iframe-transport.js"></script>
<script src="/meileche/js/jQuery-File-Upload-8.8.5/js/jquery.fileupload.js"></script>
<script src="/meileche/js/jQuery-File-Upload-8.8.5/js/cors/jquery.xdr-transport.js"></script>
<script type="text/javascript" src="/meileche/js/region.js"></script>
<script type="text/javascript"  src="/meileche/js/mrelease.js"></script>
</head>
<body>
		<div class="topNavigate">
		<div
			style="margin-left: auto; margin-right: auto; width: 1000px; height: 50px;">
			<div 
			style="margin-left: auto; margin-right: auto; width: 1000px; height: 50px;">
			<div style="float: left; width: 250px; height: 50px;">
				<img src="image/ylc_logo_small.jpg" />
			</div>
			<div class="menuDiv"
				style="float: left; width: 500px; height: 50px;">
				<%= MenuFactory.getTopMenu() %>				
				</div>
			<div
				style="width: 250px; height: 50px; float: left; color: #444; font-size: 18px; text-align:center;"
				align="center" id="divLogin">
				<a href="login.jsp" class="linkLogin">登陆</a>&nbsp;<span style="font-size:12px;color:#ccc;">|</span>&nbsp;<a href="register.jsp" class="linkLogin">注册</a>
				&nbsp;<span style="font-size:12px;color:#ccc;">|</span>&nbsp;<a style="cursor:pointer;" onclick="myMeile();" class="linkLogin">我的美乐车</a>
				
			</div>
		</div>
		</div>
		<div
			style="margin-left: auto; margin-right: auto; width: 1000px; height: 30px; margin-top: 5px;"
			class="step">
			<div class="step1">
				<div class="step1_img">
					<img src="image/next.png" />
				</div>
				<div class="step1_desc" style="background-color: #F6F3F3;">
					1.修改报价信息</div>
			</div>
			<div class="step2">
				<div class="step2_img">
					<img src="image/next_b.png" />
				</div>
				<div class="step2_desc" style="background-color: #F6F3F3;">
					2.确认用户</div>
			</div>
			<div class="step3">
				<div class="step3_img">
					<img src="image/next_b.png" />
				</div>
				<div class="step3_desc" style="background-color: #F6F3F3;">
					3.修改成功</div>
				<div class="step3_img1">
					<img src="image/success.png" style="display: none;" />
				</div>
			</div>
		</div>
		<div
			style="margin-left: auto;height:1400px; margin-right: auto; width: 1000px; display: block;"
			id="div_info" >
			<div
				style="color:#72b088;float: left; width: 1000px; height: 30px; line-height: 40px; font-size: 14px;">
				
			</div>
			<div
				style="float: left; width: 1000px; height: 30px; line-height: 40px; font-size: 14px; color: #978679;">
				备注: <span
					style="margin: 5px 5px 0px 5px; height: 25px; color: #72b088; font-weight: bold; font-size: 18px; vertical-align: middle;">*</span>为必填项 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<div onclick="releaseOther();" style="border-radius:5px;cursor:pointer;float:right;background:#f78015;color:#fff;height:30px;display:block;width:100px;vertical-align: middle;text-align:center;font-weight:bold;">发布其他信息</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 54px; line-height: 40px; margin-top: 20px;font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 39px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					&nbsp;&nbsp;</div>
				<div>
					<div
						style="float: left; width: 60px; height: 39px; text-align: right;">
						车辆类型</div>
					<div class="common_desc" style="float: left;" id="divVehicleType">
						<span style="margin-left: 45px;"></span>
						<span id="divVehicleType">电动车</span>
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						车辆品牌</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<input id="txt_pinpai" name="input" type="text" class="txt_xiaoqu" />
						<input type="hidden" id="hidVehicleId" value="<%= PageDataForBussinessControler.generateVehicleId()%>"/>
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						店铺名称</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<input id="txt_Dianpu" name="input" type="text" class="txt_xiaoqu" />
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						店铺位置</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<div style="float:left;">
						<span style="padding-right: 45px;"></span>
						<select id="sel_Province"  name="sel_Province" style="width:auto;height:30px;">
						</select> 
						<select id="sel_City" name="sel_City" style="width:auto;height:30px;">
						</select> 
						<select id="sel_County" name="sel_County" style="width:auto;height:30px;">
						</select>
						</div>
						<div style="float:left;">
						 <input  name="input"  id="addressAttach" type="text" class="txt_address"  style="margin-top:5px;"/>
						</div>
					</div>
					
					
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						车辆电池</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<input  name="input"  id="txtbatterySize" type="text" class="txt_num" onkeyup="value=value.replace(/[^\d]/g,'')" 
							style="margin-left: 42px;" />V <input  name="input"  id="txtelectricitySize"
							type="text" class="txt_num"  onkeyup="value=value.replace(/[^\d]/g,'')" />AH 
					</div>
				</div>
			</div>
			
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						车辆参数</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span>
						最大速度<input type="text" class="txt_num" onkeyup="value=value.replace(/[^\d]/g,'')" id="txtmaxspeed"/>km/h&nbsp;&nbsp;&nbsp;&nbsp;
						行驶距离<input type="text" class="txt_num" onkeyup="value=value.replace(/[^\d]/g,'')" id="txtworkLength"/>km&nbsp;&nbsp;&nbsp;&nbsp;
						载重<input type="text" class="txt_num" onkeyup="value=value.replace(/[^\d]/g,'')" id="txtWeight"/>kg&nbsp;&nbsp;&nbsp;&nbsp;
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						报价</div>
					<div class="common_desc" id="divFenQi"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span> <input  name="input"  id="txtprice"
							type="text" class="txt_pangfang"/>元&nbsp;&nbsp;&nbsp; 
							<select id="payType" style="width:auto;height:30px;">
							<option value="0">可否分期</option>
							<option value="1">可以</option>
							<option value="2">不可以</option>
							</select>
							<input  name="input"  id="txtQiNum"
							type="text" class="txt_num" style="display:none;"/><span id="spanQi" style="display:none;">期</span>
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px;padding-top:8px; height: 42px; vertical-align: middle;text-align: right;">
						赠送</div>
					<div class="zengsong"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;padding-top:10px;">
						<span style="margin:0px 0px 0px 30px;"></span>
						<input style="margin: 0px 15px 15px 15px;" id="chk0" value="0" type="checkbox" style="margin: 05px 15px 15px 15px;" />雨衣
						<input type="checkbox" value="1" id="chk1" style="margin: 0px 15px 15px 15px;" />锁
						<input type="checkbox"  id="chk2" value="2" style="margin: 0px 15px 15px 15px;" />充电器
						<input type="checkbox" id="chk3" value="3" style="margin: 0px 15px 15px 15px;" />头盔
						<input type="checkbox" style="margin: 0px 15px 15px 15px;" id="chk4" value="4" />座套
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						出厂日期</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;padding-top:10px;">
						<span style="margin:0px 0px 0px 45px;"></span>
						<input id="txt_createTime" name="input" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser"/>
					</div>
				</div>
			</div>
			
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						信息标题</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<input id="infoTitle" name="input" type="text" class="txt_title" />
						
					</div>
				</div>
			</div>
			
			<div
				style="float: left; width: 1000px; height: 250px; line-height: 25px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						车辆描述</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span>
						
						<textarea id="houseDescrible"
							style="width: 560px; height: 250px; border: 1px solid #ccc;"></textarea>
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: auto; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						上传图片</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: auto; vertical-align: middle;">
						<div id="htmlUpload" style="float:left;border:1px solid #fff;height:50px;margin: 0px 0px 0px 42px;padding-top:10px;">
							<input id="fileupload" type="file" name="files[]" style="width: 300px;height:30px;border:1px solid #ccc;"/>
						</div>
						<div style="float:left;border:1px solid #fff;height:50px;width:220px;margin: 0px 0px 0px 42px;padding-top:10px;">
							<div id="progress">
							    <div class="bar" style="width: 0%;height:30px;">
							    	
							    </div>
							</div>
						</div>
						<div style="float:left;border:1px solid #ccc;height:230px;width: 580px;margin: 0px 0px 5px 42px;padding:5px 5px 5px 5px;" id="imageShow">
							
						</div>
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						联系人</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span> <input name="input"  id="txtlinkMan"
							type="text" class="txt_address" maxlength="10"/>
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						联系电话</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span> <input
							id="txtlinkPhoneNum" onkeyup="value=value.replace(/[^\d\-]/g,'');" maxlength="12"  name="input"  type="text" class="txt_address" />
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
				</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
					</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span> <input  name="input"  type="button"
							value="确认并修改" class="btn_fabu" onclick="confirmAndSubmit();" />
					</div>
				</div>
			</div>


		</div>
		<div
			style="margin-left: auto; margin-right: auto; width: 1000px; display: none;"
			id="div_email">
			<div
				style="margin-left: auto; margin-right: auto; width: 500px; height: 500px; text-align: center;">
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 30px;">
					<input  name="input"  id="email" type="text" value="邮箱/手机号/用户名"
						class="txt_ok_email" />
				</div>
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 20px;">
					<input  name="input"  id="password" type="text" value="密码"
						class="txt_ok_email" onmousedown="switchPass();"/>
					<input  name="input"  id="passwordShow" type="password" 
						class="txt_ok_email" style="display:none;"/>
				</div>
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 20px;">
					<input type="button" value="上一步" class="btn_fabu1"
						onclick="prefixStep();" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button" value="立即发布" class="btn_fabu1"
						onclick="commerSubmit();" />
				</div>
			</div>
		</div>
		<div
			style="margin-left: auto; margin-right: auto; width: 1000px; display: none;"
			id="div_success">
			<div
				style="margin-left: auto; margin-right: auto; width: 500px; height: 500px; text-align: center;">
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 250px; float: left; margin-top: 30px; text-align: center;">
					<img src="image/ok_fabu.jpg" />
				</div>
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 20px; color: #777; font-size: 20px;">
					恭喜你，信息修改成功~~</div>
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 20px;">
					<input type="button" onclick="viewDetails();" value="查看信息" class="btn_fabu_end" /> <input
						type="button" value="返回首页" class="btn_fabu_end"
						onclick="returnHome();" />
				</div>
			</div>
		</div>

		<div class="bottom">
			<div style="margin-left:auto;margin-right:auto;width: 1000px;">
				<div style="width: 150px; float: left; margin-top: 10px;">
					<ul>
						<li class="liHeader"><a href="aboutme.jsp">关于我们</a></li>
					</ul>
				</div>
				<div style="width: 150px; float: left; margin-top: 10px;">
					<ul>
						<li class="liHeader"><a href="ad.jsp">广告合作</a></li>
					</ul>
				</div>
				<div style="width: 150px; float: left; margin-top: 10px;">
					<ul>
						<li class="liHeader">网站条款</li>
					</ul>
				</div>
				<div style="width: 150px; float: left; margin-top: 10px;">
					<ul>
						<li class="liHeader">帮助中心</li>
					</ul>
				</div>
				<div style="width: 150px; float: left; margin-top: 10px;">
					<ul>
						<li class="liHeader">提出建议</li>
					</ul>
				</div>
				<div style="width: 150px; float: left; margin-top: 10px;">
					<ul>
						<li class="liHeader"><a href="more.jsp">更多>></a></li>
					</ul>
				</div>
				<div style="width: 250px; float: left; margin-top: 10px;"></div>
			</div>
			</div>

	</div>
	<input type="hidden" id="hidImgNum" value="0"/>
	<input type="hidden" id="hidImgIds" value=""/>
</body>
</html>
